using UnityEngine;
using System.Collections;

public class GameGUI : MonoBehaviour {
	
	public			Texture2D			m_Bar;
	
	private			int					m_BarWidth;
	
	void Start ()
	{
	}
	
	void Update ()
	{
	
	}
	
	public void Show()
	{
		GUI.DrawTexture(new Rect((Screen.width / 2) - 70, 10, m_BarWidth, 5), m_Bar);
	}
	
	public void TimeBar(TimeBar _bar)
	{
		m_BarWidth = _bar.m_Width;
	}
}
